import cv2
import numpy as np
img = np.zeros((400,400,3),dtype="uint8")
(centerX,centerY) = (round(img.shape[1] / 2),round(img.shape[0] / 2))
# 将图像的中心作为圆心,实际值为 400/2
for r in range(5,round(400/2),12):
    cv2.circle(img,(centerX,centerY),r,(255,255,255),3)
# circle(载体图像，圆心，半径，颜色)
cv2.imshow("cv2.circle",img)
cv2.waitKey(0)
cv2.destroyAllWindows()
